﻿<!DOCTYPE html>
<html>
<script src="Scripts/jquery-3.3.1.min.js"></script>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>

    <script>

        var chatIdList = {};
        chatIdList.BodyCondition = "感冒";
        chatIdList.Temperature = '37.5';
        chatIdList.DealInfo = '隔离';
        chatIdList.RegistDate ='2019-02-24';
        chatIdList.TemperatureId = 'ED79023C-4D26-4AA0-8B8D-0AA4356D41AE';
        $.ajax({
                    type: 'POST',
                    url: "api/TemperatureHigh/PostSaveSingleData",
                    contentType: 'application/json; charset=utf-8',//将json数据以request payload的形式发起请求
                    data: JSON.stringify(chatIdList),
            success: function (response) {
                console.log(response);
            }
});

    </script>
</body>

</html>